home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinXP Workgroup Crawling Only.xpl < prev    next >
Text File  |  2004-02-05  |  2KB  |  45 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Appearance\Desktop\Icons\'My Network Neighborhood' Options"
  5. "NAME"="Windows XP Workgroup Crawling"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Show computers near to me in My Network Places"
  8. "DESCRIPTION 1"="Specifies whether or not Windows XP will show computers that are not part of your workgroup in My Network Places."
  9. "DESCRIPTION 2"="Default is checked.  If you uncheck this, computers that are not part of your workgroup will not be displayed in My Network Places."
  10. "COMMENT 1"="Found during "reconnaissance mission" of Windows XP registry."
  11. "VERSION"="1.04"
  12. "AUTHOR"="CptSiskoX on behalf of Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "CONTACTURL"="http://www.lockergnome.com/"
  15. "OSVERSION"="0000011"
  16.  
  17. 'Declaration of some constants
  18. sP="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NetworkCrawler\Objects\WorkgroupCrawler\WorkgroupOnly"
  19.  
  20. 'Called when the Plugin is started
  21. SUB Plugin_Initialize
  22.  s=RegReadValue(sP)
  23.  if s=0 OR IsEmpty(s) then
  24.   Call SetUIElement(1,true)
  25.  end if
  26. END SUB
  27.  
  28. 'Called when the Plugin should validate the Data the user has entered
  29. SUB Plugin_CheckData(ElementIndex)
  30. END SUB
  31.  
  32. 'Called when the Plugin should apply the changes
  33. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  s=GetUIElement(1)
  35.  if s=true then
  36.   Call RegWriteValue(sP,0,2)
  37.  else
  38.   Call RegWriteValue(sP,1,2)
  39.  end if
  40. END SUB
  41.  
  42. 'Called when the Plugin is about to be removed from memory
  43. SUB Plugin_Terminate
  44. END SUB
  45.